<?php
	$JO["IWantTo"] 	 	= JO(array("EN"=>"I want to...",		"VI"=>"Tôi muốn..."					));
	$JO["JukeOnOrder"]	= JO(array("EN"=>"JukeOn™ Order",		"VI"=>"Đơn Hàng JukeOn™"			));
	$JO["AskMyOrder"]	= JO(array("EN"=>"Ask About My Order",	"VI"=>"Thắc Mắc Về Đơn Hàng"		));
	$JO["MyJukeOrder"] 	= JO(array("EN"=>"My JukeOn™ Order",	"VI"=>"Đơn Hàng JukeOn™ Của Tôi"	));
	$JO["Cancel"] 		= JO(array("EN"=>"Cancel",				"VI"=>"Hủy"							));
?>
<?

	$query = "

		SELECT		*
		FROM		`order`
		WHERE		`delete` IS NULL
		AND			`account` = '" . $_SESSION[ "JO_account_key" ] . "'

	";

	$recordSet = JO_query( $query );

?>



<div class="JO_unit">

	<h1><?= $JO["JukeOnOrder"] ?></h1>

	<div><img src="JO_80_image/JO_00_blank.gif" /></div>

</div>



<div class="JO_relative" style="width: 960px;">

	<div class="JO_box_240 JO_left">

		<h1><?= $JO["IWantTo"] ?></h1>

		<div class="JO_box_menu"><a href="?JO_unit=30_contact"><?= $JO["AskMyOrder"]?></a></div>

	</div>

	<div class="JO_left">



		<div class="JO_bar_720">

			<h1><?= $JO["MyJukeOrder"] ?></h1>

			<div>



				<? if( $recordSet -> num_rows ) while( $record = $recordSet -> fetch_array( ) ) { ?>

					<?= $record[ "name" ] ?> &nbsp;
					<?= $record[ "phone" ] ?> &nbsp;
					<?= $record[ "address" ] ?> &nbsp;
					<?= $record[ "mail" ] ?> &nbsp;
					<?= $record[ "price" ] ?> &nbsp;
					<?= $record[ "progress" ] ?> &nbsp;
					<a href=""><?= $JO["Cancel"] ?></a> &nbsp;<br />

				<? } ?>



			</div>

		</div>



	</div>

</div>
